{extend name="common/layout" /}

{block name="css"}
<link href="/static/inspinia/css/plugins/dataTables/datatables.min.css" rel="stylesheet">
{/block}

{block name="contents"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>{$title}</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="{$form_col|default='col-md-8'}">
                        <form method="post" action="{$action|default=''}" target="_subifr">
                            {include file="public/_form_field" /}
                            <div class="form-group row">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <a onclick="javascript:history.go(-1);return false;" href="#" class="btn btn-white btn-sm">取消</a>
                                    <button class="btn btn-primary btn-sm" type="submit">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}